package com.vcredit.creditcat.service;
import com.vcredit.creditcat.model.ProductCheckcustItem;
import com.vcredit.creditcat.persistence.base.ProductCheckcustItemMapper;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 
 **/
@Service
public class ProductCheckcustItemService {
	@Autowired
    private ProductCheckcustItemMapper mapper;
    
    public void insert(ProductCheckcustItem obj){
    	mapper.insert(obj);
    }
    
    public void update(ProductCheckcustItem obj){
    	mapper.update(obj);
    }
    
    public List<ProductCheckcustItem> findAll(){
		return mapper.findAll();
	}
	
	private List<ProductCheckcustItem> find(ProductCheckcustItem obj){
		return mapper.find(obj);
	}
	 
	public List<ProductCheckcustItem> findByProductId(Long productId) {
		return mapper.findByProductId(productId);
	}
}